﻿using Dapper.Database;
using System;
using System.Collections.Generic;
using System.Threading.Tasks;

namespace BookStores.IDomain
{
    /// <summary>
    /// 
    /// </summary>
    public interface IGoodsTag : Shared.Contracts.IDependency
    {
        /// <summary>
        /// 获取标签列表
        /// </summary>
        /// <param name="name"></param>
        /// <returns></returns>
        Task<IEnumerable<Entity.GoodsTag>> GetGoodsTag(string keyWord, string tagType, int pageIndex = 1, int pageSize = 10);
    }
}
